package tcp

import (
	"net"
)

// Handler Tcp传输流处理
type Handler interface {
	GetResource() ([]byte, error)
	Handle(conn net.Conn, resource []byte) (bool, error)
}
